{include file='common/header' /}
<script>
    Namespace.register("EBCMS.CONTENT");
</script>
<div class="row">
    <div class="col-md-3">
        {include file='common/left' /}
    </div>
    <div class="col-md-9">
        <div class="panel panel-default">
            <div class="panel-body">
                <h1>{$content.title}</h1><hr>
                {$content.body.body|htmlspecialchars_decode}
                <hr>
                {notempty name='content.relation'}
                <h4><b class="text-danger">延伸阅读：</b></h4>
                <ol style="padding-left: 20px;">
                {foreach name='content.relation' item='vo'}
                    <li><a href="{$vo.url}">{$vo.shorttitle}</a></li>
                {/foreach}
                </ol>
                <hr>
                {/notempty}
                <nav>
                  <ul class="pager">
                    {notempty name='content.prev'}
                    <li class="previous"><a href="{$content.prev.url}"><span aria-hidden="true">&larr;</span> {$content.prev.title}</a></li>
                    {else/}
                    <li class="previous disabled"><a href="###"><span aria-hidden="true">&larr;</span> 没有了</a></li>
                    {/notempty}
                    {notempty name='content.next'}
                    <li class="next"><a href="{$content.next.url}">{$content.next.title} <span aria-hidden="true">&rarr;</span></a></li>
                    {else/}
                    <li class="next disabled"><a href="###">没有了 <span aria-hidden="true">&rarr;</span></a></li>
                    {/notempty}
                  </ul>
                </nav>
            </div>
        </div>
    </div>
</div>
{include file='common/footer' /}